/*
 * checkheadcrc16.hh
 *
 *  Created on: 2011-1-6
 *      Author: xuhui
 */

#ifndef CHECKHEADCRC16_HH_
#define CHECKHEADCRC16_HH_
#include <click/element.hh>
#include <click/atomic.hh>
CLICK_DECLS
class CheckHeadCRC16: public Element{
public:
	CheckHeadCRC16();
	~CheckHeadCRC16();

	const char *class_name() const		{ return "CheckHeadCRC16"; }
	const char *port_count() const		{ return PORTS_1_1; }
	const char *processing() const		{ return AGNOSTIC; }

	Packet *simple_action(Packet *);

private:

	atomic_uint32_t _drops;

};
CLICK_ENDDECLS
#endif /* CHECKHEADCRC16_HH_ */
